package zongbao.domain;

import java.util.Date;

public class Book {
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    private int id;
    private String name;
    private String press;
    private String author;
    private String detail;

    public Date getUsertime() {
        return usertime;
    }

    public void setUsertime(Date usertime) {
        this.usertime = usertime;
    }

    public Date getBooktime() {
        return booktime;
    }

    public void setBooktime(Date booktime) {
        this.booktime = booktime;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    private Date usertime;
    private Date booktime;
    private int userid;

    public String getGuihuan() {
        return guihuan;
    }

    public void setGuihuan(String guihuan) {
        this.guihuan = guihuan;
    }

    private String guihuan;

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", press='" + press + '\'' +
                ", author='" + author + '\'' +
                ", detail='" + detail + '\'' +
                ", usertime=" + usertime +
                ", booktime=" + booktime +
                ", userid=" + userid +
                ", guihuan='" + guihuan + '\'' +
                '}';
    }
}
